import type { RouteRecordRaw } from "vue-router";

const activityRoute: RouteRecordRaw = {
  path: "activity",
  component: () => import("@/views/activity/activity.vue"),
  meta: {
    title: "活动模板",
  },
  children: [
    {
      path: "addActivity",
      component: () => import("@/views/activity/Act/addActivity.vue"),
      meta: {
        title: "发布活动",
      },
    },
    {
      path: "underwayActivity",
      component: () => import("@/views/activity/Act/underwayActivity.vue"),
      meta: {
        title: "活动进行中",
      },
    },
    {
      path: "finishActivity",
      component: () => import("@/views/activity/Act/finishActivity.vue"),
      meta: {
        title: "活动结束",
      },
    },
  ],
};

export default activityRoute;
